/**
 * 
 */
package org.dse.html.processor;

import org.dse.html.TagResultContainer;

/**
 * The interface only gives a method for processing a tag. The classes which
 * implements it processes different tags.
 * 
 * @author zhangchen
 * 
 */
public interface TagProcessor {

	/**
	 * Process a tag. Different classes have different algorithms.
	 * 
	 * @param htmlContent
	 *            the whole content of current processed html document
	 * @param index
	 *            the start index of the current tag
	 * @param container
	 *            the TagResultContainer which the processor sends results to
	 */
	public void processTag(String htmlContent, int index,
			TagResultContainer container);
}
